Skip to main content

Delete Folder

AutomatR.Dropbox.Activities.DeleteFolder

The "Delete Folder" activity in AutomatR is part of the Dropbox.Folder activities package, facilitating the deletion of a folder in the user's Dropbox. This activity streamlines folder management tasks in Dropbox, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Folder PathSpecifies the full path of the folder to be deleted from Dropbox (e.g., "Root/DeleteFolder"). String variables containing the folder path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Delete Folder" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 5 seconds, enter "5".
Output
ResultReturns true or false depending on the success of the folder deletion. Variables of type bool to store the operation result.

How to Use

  1. Drag and drop the "Delete Folder" activity onto the workflow.
  2. Configure the properties by specifying the full path of the folder to be deleted from Dropbox.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to delete the specified folder from Dropbox.

Example

Consider an example where the "Delete Folder" activity is used to delete a folder named "DeleteFolder" in Dropbox:

Delete Folder:
Display Name: "Delete Folder"
Folder Path: "Root/DeleteFolder"
Result: isDeleteSuccessful

In this example, the activity deletes the "DeleteFolder" from the root directory in Dropbox. The result of the operation (success or failure) is stored in the Boolean variable "isDeleteSuccessful" for further handling in the workflow.